package com.linln.modules.system.domain;

import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;

import javax.persistence.*;
import java.sql.Timestamp;
import java.util.Date;
import java.util.Objects;

@Entity
@Table(name = "Patient_Clinical_Information", schema = "dbo", catalog = "WQR")
@EntityListeners(AuditingEntityListener.class)
public class PatientClinicalInformationEntity {
    private Integer id;
    private String zyh;
    private String fbnl;
    private String fbnldw;
    private Date scjysj;
    private Date scfbsj;
    private String sfsjzd;
    private String sczdyy;
    private String jzjg;
    private String jyzs;
    private String zyzz;
    private String zytz;
    private String hyjcjg;
    private String sysjc;
    private String yx;
    private Date zdsj;
    private String zdlx;
    private String yszd;
    private String yszdIcd10;
    private String qzzd;
    private String qzzdIcd10;
    private String jbzdmc;
    private String jbzdIcd10;
    private String qzyj;
    private String zdff;
    private String subDiagnosis1;
    private String subDiagnosis1Icd10;
    private String subDiagnosis2;
    private String subDiagnosis2Icd10;
    private String subDiagnosis3;
    private String subDiagnosis3Icd10;
    private String subDiagnosis4;
    private String subDiagnosis4Icd10;
    private String subDiagnosis5;
    private String subDiagnosis5Icd10;
    private String bczdys;
    private String sfzz;
    private String zl;
    private Date qdtyxzlsj;
    @CreatedDate
    private Date createDate;
    private String bah;
    private String mxjc;
    private String jyjc;
    private String tyxzlfs;
    private String ftyxzlfs;
    private String sczdyystate;
    private String mxyjy;
    private String xcgjcjg;
    private String ncgjcjg;
    private String xxhjcjg;
    private String bljcjg;
    private String jyjcjg;
    private String qtjcjg;
    private String xxyxjg;
    private String bcyxjg;
    private String ctyxjg;
    private String hcyxjg;
    private String qtyxjg;
    private Date cyrq;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id", nullable = false)
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    @Basic
    @Column(name = "zyh", nullable = true, length = 20)
    public String getZyh() {
        return zyh;
    }

    public void setZyh(String zyh) {
        this.zyh = zyh;
    }

    @Basic
    @Column(name = "fbnl", nullable = true, length = 50)
    public String getFbnl() {
        return fbnl;
    }

    public void setFbnl(String fbnl) {
        this.fbnl = fbnl;
    }

    @Basic
    @Column(name = "fbnldw", nullable = true, length = 50)
    public String getFbnldw() {
        return fbnldw;
    }

    public void setFbnldw(String fbnldw) {
        this.fbnldw = fbnldw;
    }

    @Basic
    @Column(name = "scjysj", nullable = true)
    public Date getScjysj() {
        return scjysj;
    }

    public void setScjysj(Date scjysj) {
        this.scjysj = scjysj;
    }

    @Basic
    @Column(name = "scfbsj", nullable = true)
    public Date getScfbsj() {
        return scfbsj;
    }

    public void setScfbsj(Date scfbsj) {
        this.scfbsj = scfbsj;
    }

    @Basic
    @Column(name = "sfsjzd", nullable = true, length = 50)
    public String getSfsjzd() {
        return sfsjzd;
    }

    public void setSfsjzd(String sfsjzd) {
        this.sfsjzd = sfsjzd;
    }

    @Basic
    @Column(name = "sczdyy", nullable = true, length = 255)
    public String getSczdyy() {
        return sczdyy;
    }

    public void setSczdyy(String sczdyy) {
        this.sczdyy = sczdyy;
    }

    @Basic
    @Column(name = "jzjg", nullable = true, length = 255)
    public String getJzjg() {
        return jzjg;
    }

    public void setJzjg(String jzjg) {
        this.jzjg = jzjg;
    }

    @Basic
    @Column(name = "jyzs", nullable = true, length = 2000)
    public String getJyzs() {
        return jyzs;
    }

    public void setJyzs(String jyzs) {
        this.jyzs = jyzs;
    }

    @Basic
    @Column(name = "zyzz", nullable = true, length = 5000)
    public String getZyzz() {
        return zyzz;
    }

    public void setZyzz(String zyzz) {
        this.zyzz = zyzz;
    }

    @Basic
    @Column(name = "zytz", nullable = true, length = 5000)
    public String getZytz() {
        return zytz;
    }

    public void setZytz(String zytz) {
        this.zytz = zytz;
    }

    @Basic
    @Column(name = "hyjcjg", nullable = true, length = 5000)
    public String getHyjcjg() {
        return hyjcjg;
    }

    public void setHyjcjg(String hyjcjg) {
        this.hyjcjg = hyjcjg;
    }

    @Basic
    @Column(name = "sysjc", nullable = true, length = 5000)
    public String getSysjc() {
        return sysjc;
    }

    public void setSysjc(String sysjc) {
        this.sysjc = sysjc;
    }

    @Basic
    @Column(name = "yx", nullable = true, length = 5000)
    public String getYx() {
        return yx;
    }

    public void setYx(String yx) {
        this.yx = yx;
    }

    @Basic
    @Column(name = "zdsj", nullable = true)
    public Date getZdsj() {
        return zdsj;
    }

    public void setZdsj(Date zdsj) {
        this.zdsj = zdsj;
    }

    @Basic
    @Column(name = "zdlx", nullable = true, length = 50)
    public String getZdlx() {
        return zdlx;
    }

    public void setZdlx(String zdlx) {
        this.zdlx = zdlx;
    }

    @Basic
    @Column(name = "yszd", nullable = true, length = 200)
    public String getYszd() {
        return yszd;
    }

    public void setYszd(String yszd) {
        this.yszd = yszd;
    }

    @Basic
    @Column(name = "yszd_icd10", nullable = true, length = 200)
    public String getYszdIcd10() {
        return yszdIcd10;
    }

    public void setYszdIcd10(String yszdIcd10) {
        this.yszdIcd10 = yszdIcd10;
    }

    @Basic
    @Column(name = "qzzd", nullable = true, length = 200)
    public String getQzzd() {
        return qzzd;
    }

    public void setQzzd(String qzzd) {
        this.qzzd = qzzd;
    }

    @Basic
    @Column(name = "qzzd_icd10", nullable = true, length = 200)
    public String getQzzdIcd10() {
        return qzzdIcd10;
    }

    public void setQzzdIcd10(String qzzdIcd10) {
        this.qzzdIcd10 = qzzdIcd10;
    }

    @Basic
    @Column(name = "jbzdmc", nullable = true, length = 200)
    public String getJbzdmc() {
        return jbzdmc;
    }

    public void setJbzdmc(String jbzdmc) {
        this.jbzdmc = jbzdmc;
    }

    @Basic
    @Column(name = "jbzd_icd10", nullable = true, length = 200)
    public String getJbzdIcd10() {
        return jbzdIcd10;
    }

    public void setJbzdIcd10(String jbzdIcd10) {
        this.jbzdIcd10 = jbzdIcd10;
    }

    @Basic
    @Column(name = "qzyj", nullable = true, length = 50)
    public String getQzyj() {
        return qzyj;
    }

    public void setQzyj(String qzyj) {
        this.qzyj = qzyj;
    }

    @Basic
    @Column(name = "zdff", nullable = true, length = 50)
    public String getZdff() {
        return zdff;
    }

    public void setZdff(String zdff) {
        this.zdff = zdff;
    }

    @Basic
    @Column(name = "sub_diagnosis_1", nullable = true, length = 200)
    public String getSubDiagnosis1() {
        return subDiagnosis1;
    }

    public void setSubDiagnosis1(String subDiagnosis1) {
        this.subDiagnosis1 = subDiagnosis1;
    }

    @Basic
    @Column(name = "sub_diagnosis_1_icd10", nullable = true, length = 200)
    public String getSubDiagnosis1Icd10() {
        return subDiagnosis1Icd10;
    }

    public void setSubDiagnosis1Icd10(String subDiagnosis1Icd10) {
        this.subDiagnosis1Icd10 = subDiagnosis1Icd10;
    }

    @Basic
    @Column(name = "sub_diagnosis_2", nullable = true, length = 200)
    public String getSubDiagnosis2() {
        return subDiagnosis2;
    }

    public void setSubDiagnosis2(String subDiagnosis2) {
        this.subDiagnosis2 = subDiagnosis2;
    }

    @Basic
    @Column(name = "sub_diagnosis_2_icd10", nullable = true, length = 200)
    public String getSubDiagnosis2Icd10() {
        return subDiagnosis2Icd10;
    }

    public void setSubDiagnosis2Icd10(String subDiagnosis2Icd10) {
        this.subDiagnosis2Icd10 = subDiagnosis2Icd10;
    }

    @Basic
    @Column(name = "sub_diagnosis_3", nullable = true, length = 200)
    public String getSubDiagnosis3() {
        return subDiagnosis3;
    }

    public void setSubDiagnosis3(String subDiagnosis3) {
        this.subDiagnosis3 = subDiagnosis3;
    }

    @Basic
    @Column(name = "sub_diagnosis_3_icd10", nullable = true, length = 200)
    public String getSubDiagnosis3Icd10() {
        return subDiagnosis3Icd10;
    }

    public void setSubDiagnosis3Icd10(String subDiagnosis3Icd10) {
        this.subDiagnosis3Icd10 = subDiagnosis3Icd10;
    }

    @Basic
    @Column(name = "sub_diagnosis_4", nullable = true, length = 200)
    public String getSubDiagnosis4() {
        return subDiagnosis4;
    }

    public void setSubDiagnosis4(String subDiagnosis4) {
        this.subDiagnosis4 = subDiagnosis4;
    }

    @Basic
    @Column(name = "sub_diagnosis_4_icd10", nullable = true, length = 200)
    public String getSubDiagnosis4Icd10() {
        return subDiagnosis4Icd10;
    }

    public void setSubDiagnosis4Icd10(String subDiagnosis4Icd10) {
        this.subDiagnosis4Icd10 = subDiagnosis4Icd10;
    }

    @Basic
    @Column(name = "sub_diagnosis_5", nullable = true, length = 200)
    public String getSubDiagnosis5() {
        return subDiagnosis5;
    }

    public void setSubDiagnosis5(String subDiagnosis5) {
        this.subDiagnosis5 = subDiagnosis5;
    }

    @Basic
    @Column(name = "sub_diagnosis_5_icd10", nullable = true, length = 200)
    public String getSubDiagnosis5Icd10() {
        return subDiagnosis5Icd10;
    }

    public void setSubDiagnosis5Icd10(String subDiagnosis5Icd10) {
        this.subDiagnosis5Icd10 = subDiagnosis5Icd10;
    }

    @Basic
    @Column(name = "bczdys", nullable = true, length = 20)
    public String getBczdys() {
        return bczdys;
    }

    public void setBczdys(String bczdys) {
        this.bczdys = bczdys;
    }

    @Basic
    @Column(name = "sfzz", nullable = true, length = 50)
    public String getSfzz() {
        return sfzz;
    }

    public void setSfzz(String sfzz) {
        this.sfzz = sfzz;
    }

    @Basic
    @Column(name = "zl", nullable = true, length = 5000)
    public String getZl() {
        return zl;
    }

    public void setZl(String zl) {
        this.zl = zl;
    }

    @Basic
    @Column(name = "qdtyxzlsj", nullable = true)
    public Date getQdtyxzlsj() {
        return qdtyxzlsj;
    }

    public void setQdtyxzlsj(Date qdtyxzlsj) {
        this.qdtyxzlsj = qdtyxzlsj;
    }

    @Basic
    @Column(name = "createDate", nullable = false)
    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    @Basic
    @Column(name = "bah", nullable = false, length = 50)
    public String getBah() {
        return bah;
    }

    public void setBah(String bah) {
        this.bah = bah;
    }

    @Basic
    @Column(name = "mxjc", nullable = true, length = 2000)
    public String getMxjc() {
        return mxjc;
    }

    public void setMxjc(String mxjc) {
        this.mxjc = mxjc;
    }

    @Basic
    @Column(name = "jyjc", nullable = true, length = 2000)
    public String getJyjc() {
        return jyjc;
    }

    public void setJyjc(String jyjc) {
        this.jyjc = jyjc;
    }

    @Basic
    @Column(name = "tyxzlfs", nullable = true, length = 50)
    public String getTyxzlfs() {
        return tyxzlfs;
    }

    public void setTyxzlfs(String tyxzlfs) {
        this.tyxzlfs = tyxzlfs;
    }

    @Basic
    @Column(name = "ftyxzlfs", nullable = true, length = 50)
    public String getFtyxzlfs() {
        return ftyxzlfs;
    }

    public void setFtyxzlfs(String ftyxzlfs) {
        this.ftyxzlfs = ftyxzlfs;
    }

    @Basic
    @Column(name = "sczdyystate", nullable = true, length = 10)
    public String getSczdyystate() {
        return sczdyystate;
    }

    public void setSczdyystate(String sczdyystate) {
        this.sczdyystate = sczdyystate;
    }

    @Basic
    @Column(name = "mxyjy", nullable = true, length = 50)
    public String getMxyjy() {
        return mxyjy;
    }

    public void setMxyjy(String mxyjy) {
        this.mxyjy = mxyjy;
    }

    @Basic
    @Column(name = "xcgjcjg", nullable = true, length = 2000)
    public String getXcgjcjg() {
        return xcgjcjg;
    }

    public void setXcgjcjg(String xcgjcjg) {
        this.xcgjcjg = xcgjcjg;
    }

    @Basic
    @Column(name = "ncgjcjg", nullable = true, length = 2000)
    public String getNcgjcjg() {
        return ncgjcjg;
    }

    public void setNcgjcjg(String ncgjcjg) {
        this.ncgjcjg = ncgjcjg;
    }

    @Basic
    @Column(name = "xxhjcjg", nullable = true, length = 2000)
    public String getXxhjcjg() {
        return xxhjcjg;
    }

    public void setXxhjcjg(String xxhjcjg) {
        this.xxhjcjg = xxhjcjg;
    }

    @Basic
    @Column(name = "bljcjg", nullable = true, length = 2000)
    public String getBljcjg() {
        return bljcjg;
    }

    public void setBljcjg(String bljcjg) {
        this.bljcjg = bljcjg;
    }

    @Basic
    @Column(name = "jyjcjg", nullable = true, length = 2000)
    public String getJyjcjg() {
        return jyjcjg;
    }

    public void setJyjcjg(String jyjcjg) {
        this.jyjcjg = jyjcjg;
    }

    @Basic
    @Column(name = "qtjcjg", nullable = true, length = 2000)
    public String getQtjcjg() {
        return qtjcjg;
    }

    public void setQtjcjg(String qtjcjg) {
        this.qtjcjg = qtjcjg;
    }

    @Basic
    @Column(name = "xxyxjg", nullable = true, length = 2000)
    public String getXxyxjg() {
        return xxyxjg;
    }

    public void setXxyxjg(String xxyxjg) {
        this.xxyxjg = xxyxjg;
    }

    @Basic
    @Column(name = "bcyxjg", nullable = true, length = 2000)
    public String getBcyxjg() {
        return bcyxjg;
    }

    public void setBcyxjg(String bcyxjg) {
        this.bcyxjg = bcyxjg;
    }

    @Basic
    @Column(name = "ctyxjg", nullable = true, length = 2000)
    public String getCtyxjg() {
        return ctyxjg;
    }

    public void setCtyxjg(String ctyxjg) {
        this.ctyxjg = ctyxjg;
    }

    @Basic
    @Column(name = "hcyxjg", nullable = true, length = 2000)
    public String getHcyxjg() {
        return hcyxjg;
    }

    public void setHcyxjg(String hcyxjg) {
        this.hcyxjg = hcyxjg;
    }

    @Basic
    @Column(name = "qtyxjg", nullable = true, length = 5000)
    public String getQtyxjg() {
        return qtyxjg;
    }

    public void setQtyxjg(String qtyxjg) {
        this.qtyxjg = qtyxjg;
    }

    @Basic
    @Column(name = "cyrq", nullable = true)
    public Date getCyrq() {
        return cyrq;
    }

    public void setCyrq(Date cyrq) {
        this.cyrq = cyrq;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        PatientClinicalInformationEntity that = (PatientClinicalInformationEntity) o;
        return id == that.id && Objects.equals(zyh, that.zyh) && Objects.equals(fbnl, that.fbnl) && Objects.equals(fbnldw, that.fbnldw) && Objects.equals(scjysj, that.scjysj) && Objects.equals(scfbsj, that.scfbsj) && Objects.equals(sfsjzd, that.sfsjzd) && Objects.equals(sczdyy, that.sczdyy) && Objects.equals(jzjg, that.jzjg) && Objects.equals(jyzs, that.jyzs) && Objects.equals(zyzz, that.zyzz) && Objects.equals(zytz, that.zytz) && Objects.equals(hyjcjg, that.hyjcjg) && Objects.equals(sysjc, that.sysjc) && Objects.equals(yx, that.yx) && Objects.equals(zdsj, that.zdsj) && Objects.equals(zdlx, that.zdlx) && Objects.equals(yszd, that.yszd) && Objects.equals(yszdIcd10, that.yszdIcd10) && Objects.equals(qzzd, that.qzzd) && Objects.equals(qzzdIcd10, that.qzzdIcd10) && Objects.equals(jbzdmc, that.jbzdmc) && Objects.equals(jbzdIcd10, that.jbzdIcd10) && Objects.equals(qzyj, that.qzyj) && Objects.equals(zdff, that.zdff) && Objects.equals(subDiagnosis1, that.subDiagnosis1) && Objects.equals(subDiagnosis1Icd10, that.subDiagnosis1Icd10) && Objects.equals(subDiagnosis2, that.subDiagnosis2) && Objects.equals(subDiagnosis2Icd10, that.subDiagnosis2Icd10) && Objects.equals(subDiagnosis3, that.subDiagnosis3) && Objects.equals(subDiagnosis3Icd10, that.subDiagnosis3Icd10) && Objects.equals(subDiagnosis4, that.subDiagnosis4) && Objects.equals(subDiagnosis4Icd10, that.subDiagnosis4Icd10) && Objects.equals(subDiagnosis5, that.subDiagnosis5) && Objects.equals(subDiagnosis5Icd10, that.subDiagnosis5Icd10) && Objects.equals(bczdys, that.bczdys) && Objects.equals(sfzz, that.sfzz) && Objects.equals(zl, that.zl) && Objects.equals(qdtyxzlsj, that.qdtyxzlsj) && Objects.equals(createDate, that.createDate) && Objects.equals(bah, that.bah) && Objects.equals(mxjc, that.mxjc) && Objects.equals(jyjc, that.jyjc) && Objects.equals(tyxzlfs, that.tyxzlfs) && Objects.equals(ftyxzlfs, that.ftyxzlfs) && Objects.equals(sczdyystate, that.sczdyystate) && Objects.equals(mxyjy, that.mxyjy) && Objects.equals(xcgjcjg, that.xcgjcjg) && Objects.equals(ncgjcjg, that.ncgjcjg) && Objects.equals(xxhjcjg, that.xxhjcjg) && Objects.equals(bljcjg, that.bljcjg) && Objects.equals(jyjcjg, that.jyjcjg) && Objects.equals(qtjcjg, that.qtjcjg) && Objects.equals(xxyxjg, that.xxyxjg) && Objects.equals(bcyxjg, that.bcyxjg) && Objects.equals(ctyxjg, that.ctyxjg) && Objects.equals(hcyxjg, that.hcyxjg) && Objects.equals(qtyxjg, that.qtyxjg);
    }

    @Override
    public int hashCode() {
        return Objects.hash(id, zyh, fbnl, fbnldw, scjysj, scfbsj, sfsjzd, sczdyy, jzjg, jyzs, zyzz, zytz, hyjcjg, sysjc, yx, zdsj, zdlx, yszd, yszdIcd10, qzzd, qzzdIcd10, jbzdmc, jbzdIcd10, qzyj, zdff, subDiagnosis1, subDiagnosis1Icd10, subDiagnosis2, subDiagnosis2Icd10, subDiagnosis3, subDiagnosis3Icd10, subDiagnosis4, subDiagnosis4Icd10, subDiagnosis5, subDiagnosis5Icd10, bczdys, sfzz, zl, qdtyxzlsj, createDate, bah, mxjc, jyjc, tyxzlfs, ftyxzlfs, sczdyystate, mxyjy, xcgjcjg, ncgjcjg, xxhjcjg, bljcjg, jyjcjg, qtjcjg, xxyxjg, bcyxjg, ctyxjg, hcyxjg, qtyxjg);
    }
}
